package com.example.xuecheng.contentservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import dto.TeachplanDto;
import po.Teachplan;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
 * <p>
 * 课程计划 Mapper 接口
 * </p>
 *
 * @author itcast
 */
@Mapper
public interface TeachplanMapper extends BaseMapper<Teachplan> {
    /**
     * @Description  查询某课程计划的课程计划，组成树型结构
     * @param courseId 课程Id
     * @return
     */
    public List<TeachplanDto> selectTreeNodes(Long courseId);

}
